package com.hrp.config;

import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * MySpringCloud
 *
 * @Title: com.hrp.config
 * @Date: 2020/5/22 20:26
 * @Author: wfg
 * @Description:
 * @Version:
 */
@ComponentScan("com")
@Configuration
public class AppConfig {

//    @Bean
//    public TomcatServletWebServerFactory tomcat(){
//        TomcatServletWebServerFactory tomcat = new TomcatServletWebServerFactory();
//        tomcat.setPort(8081);
//        return  tomcat;
//    }
}
